﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace eOrdered.Controllers.Home
{
    public class HomeController : Controller
    {
        private IHomeService m_service;

        public HomeController( IHomeService service )
        {
            m_service = service;
        }

        public ActionResult Index()
        {
            ViewBag.Message = m_service.GetMessage();

            return View();
        }

        public ActionResult About()
        {
            return View();
        }
    }
}
